<?if(!$CAN_ADD$)?><div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">   </a><?else?> <?endif?></div><?else?>





<script type="text/javascript">
function sbtFrmMC991(f){$('#mchatBtn').css({display:'none'});$('#mchatAjax').css({display:''});_uPostForm('MCaddFrm',{type:'POST',url:'/mchat/?579841133.298014'});}
function countMessLength(){var rst = 300-$('#mchatMsgF').val().length;if (rst<0){rst=0;$('#mchatMsgF').val($('#mchatMsgF').val().substr(0,300));}$('#jeuwu28').html(rst);}
var tID7174=-1;var tAct7174=false;
function setT7174(s){var v=parseInt(s.options[s.selectedIndex].value);document.cookie="mcrtd="+s.selectedIndex+"; path=/";if(tAct7174){clearInterval(tID7174);tAct7174=false;}if(v>0){tID7174=setInterval("document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();",v*1000);tAct7174=true;}}
function initSel7174() {var res=document.cookie.match(/(\W|^)mcrtd=([0-9]+)/);if(res){s=$("#mchatRSel")[0];;s.selectedIndex=parseInt(res[2]);setT7174(s);}$("#mchatMsgF").bind("keydown",function(e){if(e.keyCode==13 && e.ctrlKey && !e.shiftKey){e.preventDefault();sbtFrmMC991();}})}
</script>
<form style="margin:0;padding:0;" id="MCaddFrm" onsubmit="sbtFrmMC991();return false;">
<style type="text/css">
a.button_smile {float:left; margin-right:4px; display:block; width:30px; height:30px; background:url('/style/chat_buttons.png'); background-position:-60px 0px;}
a.button_smile:hover {background-position:-60px -30px;}
a.button_smile:active {background-position:-60px -60px;}

a.button_bbcodes {float:left; margin-right:4px; display:block; width:30px; height:30px; background:url('/style/chat_buttons.png'); background-position:-90px 0px;}
a.button_bbcodes:hover {background-position:-90px -30px;}
a.button_bbcodes:active {background-position:-90px -60px;}

a.button_setting {float:left; margin-right:4px; display:block; width:30px; height:30px; background:url('/style/chat_buttons.png'); background-position:-30px 0px;}
a.button_setting:hover {background-position:-30px -30px;}
a.button_setting:active {background-position:-30px -60px;}

a.button_reload {float:left; margin-right:4px; display:block; width:30px; height:30px; background:url('/style/chat_buttons.png'); background-position:0px 0px;}
a.button_reload:hover {background-position:0px -30px;}
a.button_reload:active {background-position:0px -60px;}

input[type="text"].mchat {padding:2px;background:url('/style/input_background.png') repeat-x; border:1px solid #BABABA; -moz-border-radius:3px;-webkit-border-radius:3px; border-radius: 3px; behavior: url('/style/border-radius.htc');padding:3px; }
input[type="text"].mchat:focus {background:url('/style/input_background_focus.png') repeat-x; border:1px solid #F9D074;}

#mchatBtn {outline:none;padding: 0px 0 5px 0px;margin-top:2px;font-size:8pt;background:url('/buttons/button11.png');color:#FFFFFF;border:0px; font-weight:bold; width:134px;height:30px;}
#mchatBtn:hover {background-position:0 -30px;}
#mchatBtn:active {background-position:0 -60px;padding: 0px 0 4px 0px;}

</style>
<table border="0" cellpadding="1" cellspacing="1" width="100%">

<tr><td align="center"><hr>
<a class="button_reload" href="javascript://" rel="nofollow" onclick="document.getElementById('mchatIfm2').src='/mchat/?'+Math.random();return false;" title=""></a>
<?if($SMILES_URI$)?><a class="button_smile" href="javascript://" rel="nofollow" onclick="new _uWnd('Sml',' ',-250,-350,{autosize:0,closeonesc:1,resize:0},{url:'/index/35-24-2'});return false;" title=" "></a><?endif?>
<?if($BBCODES_URI$)?><a class="button_bbcodes" href="javascript://" onclick="new _uWnd('bbcodes',' BB-',555,100,{autosize:1,resize:0,minh:100,closeonesc:1},{url:'$BBCODES_URI$'});return false;" title="BB-"></a><?endif?>


<?if($MSGCTRL_URI$)?><a class="button_setting" href="javascript://" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0');return false;" title=" "></a><?endif?>
<td>$FLD_AUTOUPD$</td>

</td><tr></tr></table>

<?if(!$USER_LOGGED_IN$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td colspan="2">$FLD_NAME$</td></tr>
<tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>
</table>
<?endif?>

<?if($FLD_CUSTOM1$ || $FLD_CUSTOM2$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_CUSTOM1$</td><td>$FLD_CUSTOM2$</td></tr>
</table>
<?endif?>

<?if($FLD_SECURE$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>
</table>
<?endif?>

<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;">$LENGTH_COUNTER$</div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table>
<?endif?>